package com.dynabook.ems.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 根据工单号查询BOM详情简化请求
 */
@Data
@ApiModel(value = "工单BOM简化查询请求", description = "根据工单号查询BOM详情的简化请求")
public class WorkOrderBomSimpleRequest {
    
    @ApiModelProperty(value = "工单号", required = true, example = "WO202501001")
    @NotBlank(message = "工单号不能为空")
    private String workOrderNumber;
}